package cn.edu.lingnan.service;

import cn.edu.lingnan.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentService {
    public Student selectStudentByNameAndPassword(String sname,String password);//传两个参数的方法
    public int insertStudent(Student student);
    public List<Student> selectStudentAll();
    public int updateStudent(Student student);
    public Student selectStudentBySid(int sid);

}
